home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
libs
/
bgui
/
Docs
/
progressclass.doc
< prev
next >
Wrap
Text File
|
1995-04-23
|
2KB
|
81 lines
File: progressclass.doc
Description: Progressclass documentation.
Copyright: (C) Copyright 1994-1995 Jaba Development.
(C) Copyright 1994-1995 Jan van den Baard.
All Rights Reserved.
------------------------------------------------------------------------------
TABLE OF CONTENTS
progressclass/--background--
progressclass/Methods
progressclass/Attributes
progressclass/--background-- progressclass/--background--
NAME
Class: progressclass
Superclass: baseclass
Include File: <libraries/bgui.h>
FUNCTION
To provide a progression indicator in the form of a fuel guage.
Objects from this class will send out the following attribute pairs in
notification events:
GA_ID - Gadget object ID.
PROGRESS_Done - Current level of progression.
progressclass/Methods progressclass/Methods
NEW METHODS
None.
CHANGED METHODS
None.
progressclass/Attributes progressclass/Attributes
NAME
PROGRESS_Min, PROGRESS_Max - ( LONG )
FUNCTION
Set the minimum and maximum possible progression.
Defaults are 0 minimum and 100 maximum. Applicability is (IS).
SEE ALSO
PROGRESS_Done
NAME
PROGRESS_Done -- ( LONG )
FUNCTION
Set or update the current level of progression.
Default is 0. Applicability is (ISGNU).
SEE ALSO
PROGRESS_Min, PROGRESS_Max
NAME
PROGRESS_Vertical -- ( BOOL )
FUNCTION
To make the indication vertical. By default the guage is horizontal
which is filled from left to right. A vertical guage is filled from
bottom to top.
Default is FALSE. Applicability is (I).
NAME
PROGRESS_Divisor -- ( ULONG )
FUNCTION
Set a divisor which is used to devide the level of progression before
it is rendered. This is necessary when the progression minimum and
maximum levels are very far appart (I.E. 0 to 0xFFFFFFFF). This way a
fairly accurate progression is displayed.